package com.it.App.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.it.App.eneity.Permission;

import java.util.Set;

/**
 * @Author: CaoYouGen
 * @DateTime: 2023/11/28/11:05
 * @注释: TODO
 **/
public interface PermissionService extends IService<Permission> {

    /**
     * 通过用户名获取所有权限码
     *
     * @param username:  用户名
     * @return Set<String> 用户权限
     * @DateTime: 2023/11/29 12:10
     */
    Set<String> getAllPermissionByUsername(String username);
}
